package org.bingo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author CY
 * @since 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="BingoBarrage对象", description="")
@NoArgsConstructor
@AllArgsConstructor
public class BingoBarrage implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "视频ID")
    @TableId(value = "video_id", type = IdType.ID_WORKER)
    private String videoId;

    @ApiModelProperty(value = "相较于视频播放的时间")
    private Date danmuTime;

    @ApiModelProperty(value = "弹幕内容")
    private String danmuContent;

    @ApiModelProperty(value = "发送者id")
    private String senderId;


}
